<?php
	ob_start();
		
	$oh = array(	
		'version'	=> "0.2.0",
		'stable'	=> false,
		'path' 		=> dirname(__FILE__),
		'timestamp' => time(),
		'mini'		=> false,
		'runtime'	=> true,

		'module' 	=> array(),

		'appliance'	=> array(
			'name'  => "undefined",
		),

		'db'		=> array(
			'name'	=> 'DB0',
		),

		'message'	=> 'oh.framework at <a href="http://oh.openplanning.net/">openplanning.net</a>',
		
	);
	
	if (is_dir($oh['path']."/includes")) {		
		require_once($oh['path']."/includes/oh.loads.php");
		oh("config")->from_array($oh);

	} else {
		require_once($oh['path']."/oh.framework.mini.php");
		if ( oh("kernel")->install() ) {
			// Installation Accomplisced
		} else {
			$oh['mini'] = true;
		}			
		
	}
?>
